# Build rules

INCLUDE = @MYSQL_INCLUDE@ @PGSQL_INCLUDE@
LIBS    = @LIBS@ @MYSQL_LFLAGS@ @PGSQL_LFLAGS@

all:

	@CC@ -o ../../bin/zabbix_suckerd @CFLAGS@ -I../../include $(INCLUDE) zabbix_sucker.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/cfg.c ../../include/log.c ../../include/security.c ../zabbix_agent/sysinfo.c -Wall $(LIBS) 

clean:
	rm -fv *.o 
	rm -fv ../../bin/zabbix_suckerd

